package com.jeespring.shardingjdbc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jeespring.shardingjdbc.entity.User;

import java.util.List;

/**
 * @author 张朝阳
 * @description UserService
 * @date 2021/11/16 0:28:26
 */
public interface UserService {

    List<User> select(User user);

    IPage<User> selectPage(User user ,int pageNumber, int pageSize);

    List<User> selectAll();

    int insert(User user);

    int delete(User user);

    int update(User user);
}
